import Router from 'koa-router';
import wap from './wap';
import login from './login';
const router = new Router();

router.prefix('/api/h5');
// 微信相关接口
router.use(wap.routes(), wap.allowedMethods());
router.use('/login', login.routes(), login.allowedMethods());
export default function(app) {
  app.use(router.routes(), router.allowedMethods());
}
